package com.hdax.dm.vo;

import com.hdax.dm.entity.item.Item;
import lombok.*;
import org.springframework.beans.factory.annotation.Autowired;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FloorVo {

    private int index;
    private String itemTypeName;
    private Long itemTypeId;
    private List<Items> items;      //商品详情

    public static class Items{
        @Getter
        @Setter
        private Long id;
        @Getter
        @Setter
        private String itemName;
        @Getter
        @Setter
        private Long areaId;
        @Getter
        @Setter
        private String areaName;
        @Getter
        @Setter
        private String address;
        @Getter
        @Setter
        private LocalDateTime startDate;
        @Getter
        @Setter
        private LocalDateTime endDate;
        @Getter
        @Setter
        private String imgUrl;
        @Getter
        @Setter
        private Double minPrice;
    }

}
